﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%= Html.Encode(ViewData["Message"]) %></h2>
    <form id="Form1" runat="server">
        <asp:Label ID="Label1" runat="server">That's a label</asp:Label>
        
        <asp:RadioButtonList runat="server" ID="list">
            <asp:ListItem Value="0" Text="Dont" Selected="True"></asp:ListItem>
            <asp:ListItem Value="1" Text="Do"></asp:ListItem>
            <asp:ListItem Value="2" Text="This"></asp:ListItem>
        </asp:RadioButtonList>
        
        <asp:TreeView ID="tree" runat="server">
        <Nodes>
        <asp:TreeNode Text="Level1">
        </asp:TreeNode>
        <asp:TreeNode Text="Level1">
            <asp:TreeNode Text="Level2" NavigateUrl="/Home/About"></asp:TreeNode>
            <asp:TreeNode Text="Level2"></asp:TreeNode>
            
            <asp:TreeNode Text="Level2">
                <asp:TreeNode Text="Level3"></asp:TreeNode>
                <asp:TreeNode Text="Level3"></asp:TreeNode>
            </asp:TreeNode>
            
        </asp:TreeNode>        
        </Nodes>
        </asp:TreeView>
        </form>
<p>
    <a href="/Index/About">See the GridView in action</a>
</p>
    <p>
        To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
    </p>
</asp:Content>
